import 'package:flutter/material.dart';
import 'package:local_coffee/components/c_appbar/custom_appbar.dart';
import 'package:local_coffee/components/hex.dart';
import 'package:local_coffee/components/rgba.dart';
import 'package:local_coffee/pages/selfstore/widgets/address_row.dart';

class SelfStore extends StatefulWidget {
  
  SelfStore({
    Key key
  }) : super(key: key);

  @override
  _SelfStoreState createState() => _SelfStoreState();
}

class _SelfStoreState extends State<SelfStore> {
  
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: customAppBar(
        title: '门店自提',
        context: context,
        actions: <Widget>[
          Container(
            padding: EdgeInsets.only(right: 10),
            child: Row(
              children: <Widget>[
                Text(
                  '漯河',
                  style: TextStyle(
                    color: RGBA.rgba383838,
                    fontSize: 12
                  ),
                ),
                Icon(
                  IconData(
                    0xe622,
                    fontFamily: 'iconfont'
                  ),
                  size: 20,
                  color: RGBA.rgba383838,
                )
              ],
            ),
          )
        ],
      ),
      body: Container(
        color: HEX.hexfff,
        child: ListView(
          children: <Widget>[
            AddressRow(),
            AddressRow(),
            AddressRow(),
            AddressRow(),
            AddressRow(),
            AddressRow(),
            AddressRow(),
            AddressRow(),
            AddressRow(
              borderBottom: false,
            ),
          ],
        ),
      ),
    );
  }
}